home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr - The Manager widget class
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Xm.h>
-
- VVVVEEEERRRRSSSSIIIIOOOONNNN
- This page documents Motif 2.1.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Manager is a widget class used as a supporting superclass
- for other widget classes. It supports the visual resources,
- graphics contexts, and traversal resources necessary for the
- graphics and traversal mechanisms.
-
- CCCCllllaaaasssssssseeeessss
- Manager inherits behavior and resources from CCCCoooorrrreeee,
- CCCCoooommmmppppoooossssiiiitttteeee, and CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt.
-
- The class pointer is _x_m_M_a_n_a_g_e_r_W_i_d_g_e_t_C_l_a_s_s.
-
- The class name is XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr.
-
- NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
- The following table defines a set of widget resources used
- by the programmer to specify data. The programmer can also
- set the resource values for the inherited classes to set
- attributes for this widget. To reference a resource by name
- or by class in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC
- prefix and use the remaining letters. To specify one of the
- defined values for a resource in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove
- the XXXXmmmm prefix and use the remaining letters (in either
- lowercase or uppercase, but include any underscores between
- words). The codes in the access column indicate if the
- given resource can be set at creation time (C), set by using
- XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is
- not applicable (N/A).
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- XmNbottomShadowColor XmCBottomShadowColor Pixel dynamic CSG
- XmNbottomShadowPixmap XmCBottomShadowPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNforeground XmCForeground Pixel dynamic CSG
- XmNhelpCallback XmCCallback XtCallbackList NULL C
- XmNhighlightColor XmCHighlightColor Pixel dynamic CSG
- XmNhighlightPixmap XmCHighlightPixmap Pixmap dynamic CSG
- XmNinitialFocus XmCInitialFocus Widget NULL CSG
- XmNlayoutDirection XmCLayoutDirection XmDirection dynamic CG
- XmNnavigationType XmCNavigationType XmNavigationType XmTAB_GROUP CSG
- XmNpopupHandlerCallback XmCCallback XtCallbackList NULL C
-
-
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- XmNshadowThickness XmCShadowThickness Dimension 0 CSG
- XmNstringDirection XmCStringDirection XmStringDirection dynamic CG
- XmNtopShadowColor XmCTopShadowColor Pixel dynamic CSG
- XmNtopShadowPixmap XmCTopShadowPixmap Pixmap dynamic CSG
- XmNtraversalOn XmCTraversalOn Boolean True CSG
- XmNunitType XmCUnitType unsigned char dynamic CSG
- XmNuserData XmCUserData XtPointer NULL CSG
-
- XXXXmmmmNNNNbbbboooottttttttoooommmmSSSShhhhaaaaddddoooowwwwCCCCoooolllloooorrrr
- Specifies the color to use to draw the bottom and
- right sides of the border shadow. This color is
- used if the XXXXmmmmNNNNbbbboooottttttttoooommmmSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp resource is
- NULL.
-
- XXXXmmmmNNNNbbbboooottttttttoooommmmSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp
- Specifies the pixmap to use to draw the bottom and
- right sides of the border shadow.
-
- XXXXmmmmNNNNffffoooorrrreeeeggggrrrroooouuuunnnndddd
- Specifies the foreground drawing color used by
- manager widgets.
-
- XXXXmmmmNNNNhhhheeeellllppppCCCCaaaallllllllbbbbaaaacccckkkk
- Specifies the list of callbacks that are called
- when the help key sequence is pressed. The reason
- sent by this callback is XXXXmmmmCCCCRRRR____HHHHEEEELLLLPPPP.
-
- XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttCCCCoooolllloooorrrr
- Specifies the color of the highlighting rectangle.
- This color is used if the highlight pixmap
- resource is XXXXmmmmUUUUNNNNSSSSPPPPEEEECCCCIIIIFFFFIIIIEEEEDDDD____PPPPIIIIXXXXMMMMAAAAPPPP.
-
- XXXXmmmmNNNNhhhhiiiigggghhhhlllliiiigggghhhhttttPPPPiiiixxxxmmmmaaaapppp
- Specifies the pixmap used to draw the highlighting
- rectangle.
-
- XXXXmmmmNNNNiiiinnnniiiittttiiiiaaaallllFFFFooooccccuuuussss
- Specifies the ID of a widget descendant of the
- manager. The widget must meet these conditions:
-
- +o The widget must be either a tab group or a
- non-tab-group widget that can receive
- keyboard focus. For the definition of a tab
- group, see the description of the Manager,
- Primitive, and Gadget XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee
- resources. In general a widget can receive
- keyboard focus when it is a primitive, a
- gadget, or a manager (such as a DrawingArea
- with no traversable children) that acts as a
- primitive.
-
- +o The widget must not be a descendant of a tab
-
-
-
- Page 2 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- group that is itself a descendant of the
- manager. That is, the widget cannot be
- contained within a tab group that is nested
- inside the manager.
-
- +o The widget and its ancestors must have a
- value of True for their XXXXmmmmNNNNttttrrrraaaavvvveeeerrrrssssaaaallllOOOOnnnn
- resources.
-
- If the widget does not meet these conditions,
- XXXXmmmmNNNNiiiinnnniiiittttiiiiaaaallllFFFFooooccccuuuussss is treated as if the value were
- NULL.
-
- This resource is meaningful only when the nearest
- shell ancestor's XXXXmmmmNNNNkkkkeeeeyyyybbbbooooaaaarrrrddddFFFFooooccccuuuussssPPPPoooolllliiiiccccyyyy is
- XXXXmmmmEEEEXXXXPPPPLLLLIIIICCCCIIIITTTT. It is used to determine which widget
- receives focus in these situations:
-
- +o When the manager is the child of a shell and
- the shell hierarchy receives focus for the
- first time
-
- +o When focus is inside the shell hierarchy,
- the manager is a composite tab group, and
- the user traverses to the manager via the
- keyboard
-
- Focus is then determined as follows:
-
- +o If XXXXmmmmNNNNiiiinnnniiiittttiiiiaaaallllFFFFooooccccuuuussss is a traversable non-
- tab-group widget, that widget receives
- focus.
-
- +o If XXXXmmmmNNNNiiiinnnniiiittttiiiiaaaallllFFFFooooccccuuuussss is a traversable tab
- group, that tab group receives focus. If
- that tab group is a composite with
- descendant tab groups or traversable non-
- tab-group widgets, these procedures are used
- recursively to assign focus to a descendant
- of that tab group.
-
- +o If XXXXmmmmNNNNiiiinnnniiiittttiiiiaaaallllFFFFooooccccuuuussss is NULL, the first
- traversable non-tab-group widget that is not
- contained within a nested tab group receives
- focus.
-
- +o If XXXXmmmmNNNNiiiinnnniiiittttiiiiaaaallllFFFFooooccccuuuussss is NULL and no
- traversable non-tab-group widget exists, the
- first traversable tab group that is not
- contained within a nested tab group receives
- focus. If that tab group is a composite
- with descendant tab groups or traversable
-
-
-
- Page 3 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- non-tab-group widgets, these procedures are
- used recursively to assign focus to a
- descendant of that tab group.
-
- If a shell hierarchy regains focus after losing
- it, focus returns to the widget that had the focus
- at the time it left the hierarchy.
-
- The use of XXXXmmmmNNNNiiiinnnniiiittttiiiiaaaallllFFFFooooccccuuuussss is undefined if the
- manager is a MenuBar, PulldownMenu, PopupMenu, or
- OptionMenu.
-
- XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn
- Specifies the direction in which components of the
- manager (including strings) are laid out. The
- values are of type XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn. If the widget's
- parent is a manager or shell, the value is
- inherited from the widget's parent. Otherwise, it
- is inherited from the closest ancestor vendor or
- menu shell. Refer to the XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn(3) reference
- page for the possible direction values.
-
- XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee
- Determines whether the widget is a tab group.
-
- XXXXmmmmNNNNOOOONNNNEEEE Indicates that the widget is not a tab
- group.
-
- XXXXmmmmTTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
- Indicates that the widget is a tab
- group, unless the XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of
- another widget in the hierarchy is
- XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP.
-
- XXXXmmmmSSSSTTTTIIIICCCCKKKKYYYY____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
- Indicates that the widget is a tab
- group, even if the XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of
- another widget in the hierarchy is
- XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP.
-
- XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
- Indicates that the widget is a tab group
- and that widgets in the hierarchy whose
- XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee is XXXXmmmmTTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP are not
- tab groups.
-
- When a parent widget has an
- XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of
- XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP, traversal of
- non-tab-group widgets within the group
- is based on the order of those widgets
- in their parent's XXXXmmmmNNNNcccchhhhiiiillllddddrrrreeeennnn list.
-
-
-
- Page 4 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- When the XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeee of any widget
- in a hierarchy is XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP,
- traversal of tab groups in the hierarchy
- proceeds to widgets in the order in
- which their XXXXmmmmNNNNnnnnaaaavvvviiiiggggaaaattttiiiioooonnnnTTTTyyyyppppeeeeresources
- were specified as XXXXmmmmEEEEXXXXCCCCLLLLUUUUSSSSIIIIVVVVEEEE____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP
- or XXXXmmmmSSSSTTTTIIIICCCCKKKKYYYY____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP, whether by
- creating the widgets with that value, by
- calling XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss, or by calling
- XXXXmmmmAAAAddddddddTTTTaaaabbbbGGGGrrrroooouuuupppp.
-
- XXXXmmmmNNNNppppooooppppuuuuppppHHHHaaaannnnddddlllleeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk
- Allows the application to control which popup menu
- will be automatically posted. The reason can
- either be XXXXmmmmCCCCRRRR____PPPPOOOOSSSSTTTT or XXXXmmmmCCCCRRRR____RRRREEEEPPPPOOOOSSSSTTTT::::
-
- XXXXmmmmCCCCRRRR____PPPPOOOOSSSSTTTT Indicates that this is a regular posting
- request.
-
- XXXXmmmmCCCCRRRR____RRRREEEEPPPPOOOOSSSSTTTT
- Indicates that the menu was just
- unposted and that this callback was
- invoked on a replay.
-
- This callback uses the
- XXXXmmmmPPPPooooppppuuuuppppHHHHaaaannnnddddlllleeeerrrrCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuuccccttttstructure to pass
- information.
-
- XXXXmmmmNNNNsssshhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss
- Specifies the thickness of the drawn border
- shadow. XXXXmmmmBBBBuuuulllllllleeeettttiiiinnnnBBBBooooaaaarrrrdddd and its descendants set
- this value dynamically. If the widget is a top-
- level window, this value is set to 1. If it is
- not a top-level window, this value is set to 0
- (zero).
-
- XXXXmmmmNNNNssssttttrrrriiiinnnnggggDDDDiiiirrrreeeeccccttttiiiioooonnnn
- Is a synthetic resource for setting
- XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn. The values for this resource
- are XXXXmmmmSSSSTTTTRRRRIIIINNNNGGGG____DDDDIIIIRRRREEEECCCCTTTTIIIIOOOONNNN____LLLL____TTTTOOOO____RRRR and
- XXXXmmmmSSSSTTTTRRRRIIIINNNNGGGG____DDDDIIIIRRRREEEECCCCTTTTIIIIOOOONNNN____RRRR____TTTTOOOO____LLLL. Refer to the
- XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn resource description. The
- XXXXmmmmNNNNssssttttrrrriiiinnnnggggDDDDiiiirrrreeeeccccttttiiiioooonnnn resource is obsoleted by
- XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn, but is kept here for backward
- compatibility.
-
- XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwCCCCoooolllloooorrrr
- Specifies the color to use to draw the top and
- left sides of the border shadow. This color is
- used if the XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp resource is NULL.
-
- XXXXmmmmNNNNttttooooppppSSSShhhhaaaaddddoooowwwwPPPPiiiixxxxmmmmaaaapppp
-
-
-
- Page 5 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- Specifies the pixmap to use to draw the top and
- left sides of the border shadow.
-
- XXXXmmmmNNNNttttrrrraaaavvvveeeerrrrssssaaaallllOOOOnnnn
- Specifies whether traversal is activated for this
- widget.
-
- XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee
- Provides the basic support for resolution
- independence. It defines the type of units a
- widget uses with sizing and positioning resources.
- If the widget's parent is a subclass of XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr
- and if the XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee resource is not explicitly
- set, it defaults to the unit type of the parent
- widget. If the widget's parent is not a subclass
- of XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr, the resource has a default unit type
- of XXXXmmmmPPPPIIIIXXXXEEEELLLLSSSS.
-
- The unit type can also be specified in resource
- files, with the following format:
-
- <_f_l_o_a_t_i_n_g _v_a_l_u_e><_u_n_i_t>
-
- where:
-
- _u_n_i_t is <" ", pixels, inches, centimeters,
- millimeters, points, font units>
-
- _p_i_x_e_l_s is <_p_i_x, _p_i_x_e_l, _p_i_x_e_l_s>
-
- _i_n_c_h_e_s is <_i_n, _i_n_c_h, _i_n_c_h_e_s>
-
- _c_e_n_t_i_m_e_t_e_r
- is <_c_m, _c_e_n_t_i_m_e_t_e_r, _c_e_n_t_i_m_e_t_e_r_s>
-
- _m_i_l_l_i_m_e_t_e_r_s
- is <_m_m, _m_i_l_l_i_m_e_t_e_r, _m_i_l_l_i_m_e_t_e_r_s>
-
- ppppooooiiiinnnnttttssss is <_p_t, _p_o_i_n_t, _p_o_i_n_t_s>
-
- ffffoooonnnntttt uuuunnnniiiittttssss
- is <_f_u, ffffoooonnnntttt____uuuunnnniiiitttt, ffffoooonnnntttt____uuuunnnniiiittttssss>
-
- _f_l_o_a_t is {"+"|"-"}{{<"0"-"9">*}.}<"0"-"9">*
-
- Note that the type Dimension must always
- be positive.
-
- For example,
-
- xmfonts*XmMainWindow.height: 10.4cm
- *PostIn.width: 3inches
-
-
-
- Page 6 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee can have the following values:
-
- XXXXmmmmPPPPIIIIXXXXEEEELLLLSSSS All values provided to the widget are
- treated as normal pixel values.
-
- XXXXmmmmMMMMIIIILLLLLLLLIIIIMMMMEEEETTTTEEEERRRRSSSS
- All values provided to the widget are
- treated as normal millimeter values.
-
- _X_m_1_0_0_T_H__M_I_L_L_I_M_E_T_E_R_S
- All values provided to the widget are
- treated as 1/100 of a millimeter.
-
- XXXXmmmmCCCCEEEENNNNTTTTIIIIMMMMEEEETTTTEEEERRRRSSSS
- All values provided to the widget are
- treated as normal centimeter values.
-
- XXXXmmmmIIIINNNNCCCCHHHHEEEESSSS All values provided to the widget are
- treated as normal inch values.
-
- _X_m_1_0_0_0_T_H__I_N_C_H_E_S
- All values provided to the widget are
- treated as 1/1000 of an inch.
-
- XXXXmmmmPPPPOOOOIIIINNNNTTTTSSSS All values provided to the widget are
- treated as normal point values. A point
- is a unit used in text processing
- applications and is defined as 1/72 of
- an inch.
-
- _X_m_1_0_0_T_H__P_O_I_N_T_S
- All values provided to the widget are
- treated as 1/100 of a point. A point is
- a unit used in text processing
- applications and is defined as 1/72 of
- an inch.
-
- XXXXmmmmFFFFOOOONNNNTTTT____UUUUNNNNIIIITTTTSSSS
- All values provided to the widget are
- treated as normal font units. A font
- unit has horizontal and vertical
- components. These are the values of the
- XmScreen resources
- XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiittttand
- XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt.
-
- _X_m_1_0_0_T_H__F_O_N_T__U_N_I_T_S
- All values provided to the widget are
- treated as 1/100 of a font unit. A font
- unit has horizontal and vertical
- components. These are the values of the
- XmScreen resources
-
-
-
- Page 7 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiittttand
- XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt.
-
- XXXXmmmmNNNNuuuusssseeeerrrrDDDDaaaattttaaaa
- Allows the application to attach any necessary
- specific data to the widget. This is an internally
- unused resource.
-
- DDDDyyyynnnnaaaammmmiiiicccc CCCCoooolllloooorrrr DDDDeeeeffffaaaauuuullllttttssss
- The foreground, background, top shadow, bottom shadow, and
- highlight color resources are dynamically defaulted. If no
- color data is specified, the colors are automatically
- generated. On a single-plane system, a black and white color
- scheme is generated. Otherwise, four colors are generated,
- which display the correct shading for the 3-D visuals. If
- the background is the only color specified for a widget, the
- top shadow and bottom shadow colors are generated to give
- the 3-D appearance. Foreground and highlight colors are
- generated to provide sufficient contrast with the background
- color.
-
- Colors are generated only at creation. Resetting the
- background through XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss does not regenerate the other
- colors. XXXXmmmmCCCChhhhaaaannnnggggeeeeCCCCoooolllloooorrrr can be used to recalculate all
- associated colors based on a new background color.
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
- Manager inherits resources from the superclasses described
- in the following tables. For a complete description of each
- resource, refer to the reference page for that superclass.
-
- CCCCoooommmmppppoooossssiiiitttteeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- XmNchildren XmCReadOnly WidgetList NULL G
- XmNinsertPosition XmCInsertPosition XtOrderProc NULL CSG
- XmNnumChildren XmCReadOnly Cardinal 0 G
-
- CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- XmNaccelerators XmCAccelerators XtAccelerators dynamic CSG
- XmNancestorSensitive XmCSensitive Boolean dynamic G
- XmNbackground XmCBackground Pixel dynamic CSG
- XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG
- XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNborderWidth XmCBorderWidth Dimension 0 CSG
- XmNcolormap XmCColormap Colormap dynamic CG
- XmNdepth XmCDepth int dynamic CG
- XmNdestroyCallback XmCCallback XtCallbackList NULL C
- XmNheight XmCHeight Dimension dynamic CSG
-
-
-
-
-
- Page 8 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True C
- XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG
- XmNscreen XmCScreen Screen * dynamic CG
- XmNsensitive XmCSensitive Boolean True CSG
- XmNtranslations XmCTranslations XtTranslations dynamic CSG
- XmNwidth XmCWidth Dimension dynamic CSG
- XmNx XmCPosition Position 0 CSG
- XmNy XmCPosition Position 0 CSG
-
- CCCCaaaallllllllbbbbaaaacccckkkk IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn
- A pointer to the following structure is passed to each
- callback for XXXXmmmmNNNNhhhheeeellllppppCCCCaaaallllllllbbbbaaaacccckkkk:
-
- typedef struct
- {
- int _r_e_a_s_o_n;
- XEvent * _e_v_e_n_t;
- } XmAnyCallbackStruct;
-
- _r_e_a_s_o_n Indicates why the callback was invoked. For this
- callback, _r_e_a_s_o_n is set to XXXXmmmmCCCCRRRR____HHHHEEEELLLLPPPP.
-
- _e_v_e_n_t Points to the _X_E_v_e_n_t that triggered the callback.
-
- A pointer to the following structure is passed to each
- callback for XXXXmmmmNNNNppppooooppppuuuuppppHHHHaaaannnnddddlllleeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk:
-
- typedef struct
- {
- int _r_e_a_s_o_n;
- XEvent * _x_e_v_e_n_t;
- Widget _m_e_n_u_T_o_P_o_s_t;
- Boolean _p_o_s_t_I_t;
- Widget _t_a_r_g_e_t;
- } XmPopupHandlerCallbackStruct;
-
- _r_e_a_s_o_n Indicates why the callback was invoked.
-
- _x_e_v_e_n_t Points to the _X_E_v_e_n_t that triggered the handler.
-
- _m_e_n_u_T_o_P_o_s_t
- Specifies the popup menu that the menu system
- believes should be posted. The application may
- modify this field.
-
- _p_o_s_t_I_t Indicates whether the posting process should
- continue. The application may modify this field.
-
- _t_a_r_g_e_t Specifies the most specific widget or gadget that
- the menu sytem found from the event that matches
- the event.
-
-
-
-
- Page 9 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
- The following set of translations are used by Manager
- widgets that have Gadget children. Because Gadgets cannot
- have translations associated with them, it is the
- responsibility of the Manager widget to intercept the events
- of interest and pass them to any Gadget child with focus.
- These events are ignored if no Gadget child has the focus.
-
- The following key names are listed in the X standard key
- event translation table syntax. This format is the one used
- by Motif to specify the widget actions corresponding to a
- given key. A brief overview of the format is provided under
- VVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss(3). For a complete description of the
- format, please refer to the X Toolkit Instrinsics
- Documentation.
-
- <<<<BBBBttttnnnnMMMMoooottttiiiioooonnnn>>>>:
- ManagerGadgetButtonMotion()
-
- cccc<<<<BBBBttttnnnn1111DDDDoooowwwwnnnn>>>>:
- ManagerGadgetTraverseCurrent()
-
- ~~~~cccc<<<<BBBBttttnnnn1111DDDDoooowwwwnnnn>>>>:
- ManagerGadgetArm()
-
- ~~~~cccc<<<<BBBBttttnnnn1111DDDDoooowwwwnnnn>>>>,,,,~~~~cccc<<<<BBBBttttnnnn1111UUUUpppp>>>>:
- ManagerGadgetActivate()
-
- ~~~~cccc<<<<BBBBttttnnnn1111UUUUpppp>>>>:
- ManagerGadgetActivate()
-
- ~~~~cccc<<<<BBBBttttnnnn1111DDDDoooowwwwnnnn>>>>((((2222++++)))):
- ManagerGadgetMultiArm()
-
- ~~~~cccc<<<<BBBBttttnnnn1111UUUUpppp>>>>((((2222++++)))):
- ManagerGadgetMultiActivate()
-
- <<<<BBBBttttnnnn2222DDDDoooowwwwnnnn>>>>:
- ManagerGadgetDrag()
-
- ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffAAAAccccttttiiiivvvvaaaatttteeee>>>>:
- ManagerParentActivate()
-
- ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffCCCCaaaannnncccceeeellll>>>>:
- ManagerParentCancel()
-
- ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffSSSSeeeelllleeeecccctttt>>>>:
- ManagerGadgetSelect()
-
- ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffHHHHeeeellllpppp>>>>:
- ManagerGadgetHelp()
-
-
-
-
- Page 10 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- ~~~~ssss ~~~~mmmm ~~~~aaaa <<<<KKKKeeeeyyyy>>>>RRRReeeettttuuuurrrrnnnn:
- ManagerParentActivate()
-
- ~~~~ssss ~~~~mmmm ~~~~aaaa <<<<KKKKeeeeyyyy>>>>ssssppppaaaacccceeee:
- ManagerGadgetSelect()
-
- <<<<KKKKeeeeyyyy>>>>: ManagerGadgetKeyInput()
-
- ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffBBBBeeeeggggiiiinnnnLLLLiiiinnnneeee>>>>:
- ManagerGadgetTraverseHome()
-
- ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffUUUUpppp>>>>:
- ManagerGadgetTraverseUp()
-
- ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffDDDDoooowwwwnnnn>>>>:
- ManagerGadgetTraverseDown()
-
- ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffLLLLeeeefffftttt>>>>:
- ManagerGadgetTraverseLeft()
-
- ::::<<<<KKKKeeeeyyyy>>>><<<<oooossssffffRRRRiiiigggghhhhtttt>>>>:
- ManagerGadgetTraverseRight()
-
- ssss ~~~~mmmm ~~~~aaaa <<<<KKKKeeeeyyyy>>>>TTTTaaaabbbb:
- ManagerGadgetPrevTabGroup()
-
- ~~~~mmmm ~~~~aaaa <<<<KKKKeeeeyyyy>>>>TTTTaaaabbbb:
- ManagerGadgetNextTabGroup()
-
- AAAAccccttttiiiioooonnnn RRRRoooouuuuttttiiiinnnneeeessss
- The XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr action routines are
-
- GadgetTakeFocus():
- Causes the current gadget to take keyboard focus
- when CCCCttttrrrrllll<<<<BBBBttttnnnn1111DDDDoooowwwwnnnn>>>> is pressed.
-
- ManagerGadgetActivate():
- Causes the current gadget to be activated.
-
- ManagerGadgetArm():
- Causes the current gadget to be armed.
-
- ManagerGadgetButtonMotion():
- Causes the current gadget to process a mouse
- motion event.
-
- ManagerGadgetDrag():
- Causes the current gadget to begin a drag
- operation. This action is undefined for gadgets
- used in a menu system.
-
- ManagerGadgetHelp():
-
-
-
- Page 11 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- Calls the callbacks for the current gadget's
- XXXXmmmmNNNNhhhheeeellllppppCCCCaaaallllllllbbbbaaaacccckkkk if any exist. If there are no
- help callbacks for this widget, this action calls
- the help callbacks for the nearest ancestor that
- has them.
-
- ManagerGadgetKeyInput():
- Causes the current gadget to process a keyboard
- event.
-
- ManagerGadgetMultiActivate():
- Causes the current gadget to process a multiple
- mouse click.
-
- ManagerGadgetMultiArm():
- Causes the current gadget to process a multiple
- mouse button press.
-
- ManagerGadgetNextTabGroup():
- This action depends on the value of the Display
- resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb. When
- XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb is False (default), this action
- traverses to the first item in the next tab group.
- If the current tab group is the last entry in the
- tab group list, it wraps to the beginning of the
- tab group list.
-
- When XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb is True, this action moves
- to the next item within the current tab group,
- unless it is the last item in the tab group. When
- the item is the last in the group, the action
- traverses to the first item in the next tab group.
- The XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb behavior applies only to
- PushButton, ArrowButton, and DrawnArrow.
-
- ManagerGadgetPrevTabGroup():
- This action depends on the value of the Display
- resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb. When
- XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb is False (default), this action
- traverses to the first item in the previous tab
- group. If the beginning of the tab group list is
- reached, it wraps to the end of the tab group
- list.
-
- When XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb is True, this action moves
- to the previous item within the current tab group
- unless it is the first item in the tab group. When
- the item is the first in the group, the action
- traverses to the first item in the previous tab
- group. The XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeBBBBuuuuttttttttoooonnnnTTTTaaaabbbb behavior applies
- only PushButton, ArrowButton, and DrawnButton.
-
-
-
-
- Page 12 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- ManagerGadgetSelect():
- Causes the current gadget to be armed and
- activated.
-
- MMMMaaaannnnaaaaggggeeeerrrrGGGGaaaaddddggggeeeettttTTTTrrrraaaavvvveeeerrrrsssseeeeCCCCuuuurrrrrrrreeeennnntttt
- Causes the current gadget to take keyboard focus
- when CCCCttttrrrrllll<<<<BBBBttttnnnn1111DDDDoooowwwwnnnn>>>> is pressed. Gadget is not
- activated.
-
- ManagerGadgetTraverseDown():
- Traverses to the next item below the current
- gadget in the current tab group, wrapping if
- necessary. The wrapping direction depends on the
- layout direction of the widget tab group.
-
- ManagerGadgetTraverseHome():
- Traverses to the first widget or gadget in the
- current tab group.
-
- ManagerGadgetTraverseLeft():
- Traverses to the next item to the left of the
- current gadget in the current tab group, wrapping
- if necessary. The wrapping direction depends on
- the layout direction of the widget tab group.
-
- ManagerGadgetTraverseNext():
- Traverses to the next item in the current tab
- group, wrapping if necessary. The wrapping
- direction depends on the layout direction of the
- widget tab group.
-
- ManagerGadgetTraversePrev():
- Traverses to the previous item in the current tab
- group, wrapping if necessary. The wrapping
- direction depends on the layout direction of the
- widget tab group.
-
- ManagerGadgetTraverseRight()
- Traverses to the next item to the right of the
- current gadget in the current tab, wrapping if
- necessary. widget tab group. The wrapping
- direction depends on the layout direction of the
- widget tab group.
-
- ManagerGadgetTraverseUp():
- Traverses to the next item above the current
- gadget in the current tab group, wrapping if
- necessary. The wrapping direction depends on the
- layout direction of the widget tab group.
-
- ManagerParentActivate():
- If the parent is a manager, passes the
-
-
-
- Page 13 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr((((3333XXXX))))
-
-
-
- <<<<oooossssffffAAAAccccttttiiiivvvvaaaatttteeee>>>> event received by the current
- widget/gadget to its parent.
-
- ManagerParentCancel():
- If the parent is a manager, passes the <<<<oooossssffffCCCCaaaannnncccceeeellll>>>>
- event received by the current widget/gadget to its
- parent.
-
- AAAAddddddddiiiittttiiiioooonnnnaaaallll BBBBeeeehhhhaaaavvvviiiioooorrrr
- This widget has the additional behavior described below:
-
- <<<<FFFFooooccccuuuussssIIIInnnn>>>>:
- If the shell's keyboard focus policy is XXXXmmmmEEEEXXXXPPPPLLLLIIIICCCCIIIITTTT
- and the event occurs in a gadget, causes the
- gadget to be highlighted and to take the focus.
-
- <<<<FFFFooooccccuuuussssOOOOuuuutttt>>>>:
- If the shell's keyboard focus policy is XXXXmmmmEEEEXXXXPPPPLLLLIIIICCCCIIIITTTT
- and the event occurs in a gadget, causes the
- gadget to be unhighlighted and to lose the focus.
-
- VVVViiiirrrrttttuuuuaaaallll BBBBiiiinnnnddddiiiinnnnggggssss
- The bindings for virtual keys are vendor specific. For
- information about bindings for virtual buttons and keys, see
- VVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss(3).
-
- RRRREEEELLLLAAAATTTTEEEEDDDD
- CCCCoooommmmppppoooossssiiiitttteeee(3), CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt(3), CCCCoooorrrreeee(3), XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn(3),
- XXXXmmmmCCCChhhhaaaannnnggggeeeeCCCCoooolllloooorrrr(3), XXXXmmmmGGGGaaaaddddggggeeeetttt(3), and XXXXmmmmSSSSccccrrrreeeeeeeennnn(3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 14 (printed 10/3/02)
-
-
-
-